package com.all.play.myadaptertoadapter.bean;

import java.util.List;

/**
 * Created by 聪明一只哈 on 2018/5/18.
 * Time: 2018/5/18  8:36
 */

public class MyBean {


    /**
     * code : 200
     * msg : 请求成功
     * result : {"size":2,"act_info":[{"icon_url":"20180518","name":"哈士奇","url":"123456"},{"icon_url":"20180519","name":"金毛","url":"123456"},{"icon_url":"20180520","name":"萨摩耶","url":"123456"},{"icon_url":"20180521","name":"秋田","url":"123456"},{"icon_url":"20180522","name":"德牧","url":"123546"},{"icon_url":"20180523","name":"狼青","url":"123456"}],"banner_info":[{"image":"147877058316524.png","option":3,"type":0},{"image":"14787705832356.png","option":2,"type":0},{"image":"14787705832316.png","option":1,"type":0},{"image":"1478770583123.png","option":1,"type":0},{"image":"1478770583836.png","option":1,"type":0},{"image":"1478770583836.png","option":1,"type":0}]}
     */

    private int code;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * size : 2
         * act_info : [{"icon_url":"20180518","name":"哈士奇","url":"123456"},{"icon_url":"20180519","name":"金毛","url":"123456"},{"icon_url":"20180520","name":"萨摩耶","url":"123456"},{"icon_url":"20180521","name":"秋田","url":"123456"},{"icon_url":"20180522","name":"德牧","url":"123546"},{"icon_url":"20180523","name":"狼青","url":"123456"}]
         * banner_info : [{"image":"147877058316524.png","option":3,"type":0},{"image":"14787705832356.png","option":2,"type":0},{"image":"14787705832316.png","option":1,"type":0},{"image":"1478770583123.png","option":1,"type":0},{"image":"1478770583836.png","option":1,"type":0},{"image":"1478770583836.png","option":1,"type":0}]
         */

        private int size;
        private List<ActInfoBean> act_info;
        private List<BannerInfoBean> banner_info;

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public List<ActInfoBean> getAct_info() {
            return act_info;
        }

        public void setAct_info(List<ActInfoBean> act_info) {
            this.act_info = act_info;
        }

        public List<BannerInfoBean> getBanner_info() {
            return banner_info;
        }

        public void setBanner_info(List<BannerInfoBean> banner_info) {
            this.banner_info = banner_info;
        }

        public static class ActInfoBean {
            /**
             * icon_url : 20180518
             * name : 哈士奇
             * url : 123456
             */

            private String icon_url;
            private String name;
            private String url;

            public String getIcon_url() {
                return icon_url;
            }

            public void setIcon_url(String icon_url) {
                this.icon_url = icon_url;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

        public static class BannerInfoBean {
            /**
             * image : 147877058316524.png
             * option : 3
             * type : 0
             */

            private String image;
            private int option;
            private int type;

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getOption() {
                return option;
            }

            public void setOption(int option) {
                this.option = option;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
